package com.fy.module.repo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 题库
 * </p>
 *
 * @author zhu
 * @since 2023-03-19
 */
@TableName("el_repo")
@ApiModel(value = "Repo对象", description = "题库")
public class Repo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("题库ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("题库编号")
    private String code;

    @ApiModelProperty("题库名称")
    private String title;

    @ApiModelProperty("单选数量")
    private Integer radioCount;

    @ApiModelProperty("多选数量")
    private Integer multiCount;

    @ApiModelProperty("判断数量")
    private Integer judgeCount;

    @ApiModelProperty("简答题数量")
    private Integer jdtCount;

    @ApiModelProperty("题库备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除标识")
    private Integer version;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public Integer getRadioCount() {
        return radioCount;
    }

    public void setRadioCount(Integer radioCount) {
        this.radioCount = radioCount;
    }
    public Integer getMultiCount() {
        return multiCount;
    }

    public void setMultiCount(Integer multiCount) {
        this.multiCount = multiCount;
    }
    public Integer getJudgeCount() {
        return judgeCount;
    }

    public void setJudgeCount(Integer judgeCount) {
        this.judgeCount = judgeCount;
    }
    public Integer getJdtCount() {
        return jdtCount;
    }

    public void setJdtCount(Integer jdtCount) {
        this.jdtCount = jdtCount;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "Repo{" +
            "id=" + id +
            ", code=" + code +
            ", title=" + title +
            ", radioCount=" + radioCount +
            ", multiCount=" + multiCount +
            ", judgeCount=" + judgeCount +
            ", jdtCount=" + jdtCount +
            ", remark=" + remark +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", version=" + version +
        "}";
    }
}
